package SinglePlayer;

public class GameConsole {
	private static Turn turn,preTurn;
	private Game game;
	private Info info;
	
	
	public GameConsole(Game game, String p1, String p2)
	{
		this.game=game;
		setTurn(Turn.P1);
		info = new Info(p1, p2);
	}
	
	public Info getInfo()
	{
		return info;
	}
	
	public Game getGame()
	{
		return game;
	}
	
	public static void setTurn(Turn t)
	{
		turn=t;
	}
	
	public static Turn getTurn()
	{
		return turn;
	}
	
	public static void setPreTurn(Turn t)
	{
		preTurn=t;
	}
	
	public static Turn getPreTurn()
	{
		return preTurn;
	}
	
	public void plusScore(int x)
	{
		info.plusScore(x);
	}
	
	public int[] getScore()
	{
		return info.getScore();
	}
	
	
}
